﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace DataTable.Business
{
	public class DataTableBusiness
	{
		public List<DataTableEntity> GetList()
		{
			List<DataTableEntity> list = new List<DataTableEntity>();

			for( int i = 0; i < 50; i++ )
			{
				DataTableEntity obj = new DataTableEntity();
				obj.Code = i;
				obj.Name = "Nome " + i.ToString();
				list.Add( obj );
			}

			return list;
		}
	}
}